import { createApp } from 'vue'
import App from './App.vue'
import './assets/style/normalize.css'
import router from "./routers"
import {ElButton, ElLoading, ElMessage} from 'element-plus'

const app = createApp(App)

const components = [ElButton]

const plugins = [ElLoading,ElMessage]


components.forEach(item => {
    app.component(item.name,item)
})

plugins.forEach(plugin => {
    app.use(plugin)
})

app.use(router)



app.mount('#app')


